home *** CD-ROM | disk | FTP | other *** search
- ' This is the seventh 600 series macro, which deletes summary box
- ' totals on layers 12 and 13 to "clear" the summary box for use
- ' with a new drawing.
- '
- Sys$(42) = "Question?"
- Color 0,2
- Window 5, 47
- Print ""
- Print " Are you sure you want to clear the 6x6 Summary Box?"
- Print ""
- Print " Press 1 to Continue"
- Print " Press 2 to Cancel"
- Anykey a
- ' User chose 1
- if a = 97 then goto cont
- if a = 35 then goto cont
- if a = 49 then goto cont
- ' User chose 2
- if a = 98 then goto ender
- if a = 40 then goto ender
- if a = 50 then goto ender
- '
- cont:
- ' Select contents of layer
- >SelectLayer
- {
- <Layer 12
- <Layer 13
- }
- ' Delete Totals
- >SelectDelete
- {
- }
- wclose
- message "All Square and Length Meter Totals Deleted"
- end
-
- ender:
- wclose
- message "Program Aborted by user."
- end
-
-